4D Chart v13CT Get display |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT Get display
|
CT Get display ( area ; item ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Chart area | |||||
item | Integer |
![]() |
Item for which to get information | |||||
Function result | Integer |
![]() |
0 = the specified item is not being displayed 1 = the item is being displayed | |||||
Use CT Get display to find out whether certain features of the 4D Chart window are being displayed.
CT Get display returns 0 if the specified item is not being displayed, and 1 if the item is being displayed.
The menu bar, Chart Tool palette, Object Tool palette, scroll bars, and rulers can be hidden or displayed in the User environment or programmatically, using the CT SET DISPLAY command.
The codes for the item parameter are:
Code | Item |
1 | Menu Bar |
2 | Chart Tools |
3 | Object Tools |
6 | Scroll Bars |
9 | Rulers |
This example checks to see if the menu bar is disabled and then disables it if it is not.
If(CT Get display(Area;1)=1)
CT SET DISPLAY(Area;1;0)
End if
Product: 4D Chart
Theme: CT Area Control
Number:
14522
Created: 4D Chart 1